package com.example.guet_assistant.mapper;

import com.example.guet_assistant.domain.po.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-11-04
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("SELECT student_id FROM user")
    List<Long> selectStudentIds();
}
